package main

import (
	"context"
	"sync"
)

var wg sync.WaitGroup
var ctx = context.Background()

func main() {

	wg.Add(3)

	go func() {

		defer wg.Done()

		watchDog(ctx, "【监控狗2】")

	}()

	go func() {

		defer wg.Done()

		watchDog(ctx, "【监控狗3】")

	}()
}

func watchDog(ctx context.Context, name string) {

}
